package com.zs.blog.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Title: ArticleDTO
 * @Author zs
 * @Package com.zs.blog.model.dto
 * @Date 2025/2/5 22:41
 * @description: 文章数据转换对象数据模型
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArticleDTO {
    @Schema(description = "文章ID")
    private Long id;

    @Schema(description = "文章分类ID")
    private Long categoryId;

    @Schema(description = "文章标签ID列表")
    private List<Long> tagIdList;

    @Schema(description = "文章标题")
    private String articleTitle;

    @Schema(description = "文章缩略图")
    private String articleThumb;

    @Schema(description = "文章描述")
    private String articleDescription;

    @Schema(description = "文章内容")
    private String articleContent;

    @Schema(description = "原文链接")
    private String originalUrl;

    @Schema(description = "文章类型 [0:原创，1:转载，2:翻译]")
    private Integer articleType;

    @Schema(description = "文章状态 [0:公开，1:私密，2:草稿]")
    private Integer articleState;



}
